package com.aaa.hospital.nurse.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OpenDB {
    private Integer id;
    private Integer uid;
    private Integer warid;
    private String uname;
    private String name;
    private String sname;
    private Integer status;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lengthdate;
}
